package com.lhd.action.observer;

/**
 * @Author: liuhd
 * @Date: 2024/12/18 20:22
 * @Description:
 */
public class ConcreteFan extends Fan {
    public ConcreteFan(String name) {
        super(name);
    }
    @Override
    public void update(String msg) {
        System.out.println(super.name + "-" + msg);
    }
}
